ThinkPHP5


think\session\driver\Memcached
library\think\session\driver\Memcached.php at line 17

Class Memcached

SessionHandler
└─Memcached

public class Memcached
extends SessionHandler


Constructor Summary
void

__construct(mixed config)

Method Summary
void

open(string savePath, mixed sessName)

打开Session

void

close()

关闭Session

void

read(string sessID)

读取Session

void

write(string sessID, String sessData)

写入Session

void

destroy(string sessID)

删除Session

void

gc(string sessMaxLifeTime)

Session 垃圾回收

Constructor Detail

library\think\session\driver\Memcached.php at line 22

__construct

public void __construct(mixed config)

Method Detail

library\think\session\driver\Memcached.php at line 33

open

public void open(string savePath, mixed sessName)

打开Session


library\think\session\driver\Memcached.php at line 67

close

public void close()

关闭Session


library\think\session\driver\Memcached.php at line 80

read

public void read(string sessID)

读取Session


library\think\session\driver\Memcached.php at line 91

write

public void write(string sessID, String sessData)

写入Session


library\think\session\driver\Memcached.php at line 101

destroy

public void destroy(string sessID)

删除Session


library\think\session\driver\Memcached.php at line 111

gc

public void gc(string sessMaxLifeTime)

Session 垃圾回收


ThinkPHP5